package com.woniuxy.huayoung.mapper;

import com.woniuxy.huayoung.entity.Hotel;
import com.woniuxy.huayoung.entity.HotelCity;
import com.woniuxy.huayoung.entity.HotelTheme;
import com.woniuxy.huayoung.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface HotelMapper {
    public List<Hotel> findByAddress(String address);

    public Hotel findById(int id);

    public List<HotelTheme> findAllTheme();

    public List<HotelCity> findBySpe();

    public List<Hotel> findByCid(int cid);

    public List<Hotel> findByTid(int tid);

    //    插入酒店订单
    public void insertHotel(Order order);

    public void delByOrder(String orderno);



}
